package com.egao.common.module.counsel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lym
 * @date 2022/1/24 16:40
 */
@Data
@ApiModel(description = "预约咨询学生上传附件")
@TableName("counsel_student_file")
public class CounselStudentFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("预约咨询学生ID")
    private Integer counselStudentId;

    @ApiModelProperty("附件名称")
    private String name;

    @ApiModelProperty("附件地址")
    private String url;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("是否删除 0否 1是")
    @TableLogic
    private Integer deleted;
}
